package com.ydgg.ltar.mapper;

import com.ydgg.ltar.model.MemberGift;
import com.ydgg.ltar.model.MemberGiftExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 得礼物
 * 作者： 张叶
 * 创建时间：2019年4月3日  上午9:44:27
 */
@Repository
public interface MemberGiftMapper {
    int countByExample(MemberGiftExample example);

    int deleteByExample(MemberGiftExample example);

    int deleteByPrimaryKey(Long id);

    int insert(MemberGift record);

    int insertSelective(MemberGift record);

    List<MemberGift> selectByExample(MemberGiftExample example);

    MemberGift selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") MemberGift record, @Param("example") MemberGiftExample example);

    int updateByExample(@Param("record") MemberGift record, @Param("example") MemberGiftExample example);

    int updateByPrimaryKeySelective(MemberGift record);

    int updateByPrimaryKey(MemberGift record);
}